package org.dromara.bean.domain.vo;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.bean.domain.HisOpinion;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serial;
import java.io.Serializable;


/**
 * 意见反馈视图对象 his_opinion
 *
 * @author Lion Li
 * @date 2025-01-02
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HisOpinion.class)
public class HisOpinionVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 内容
     */
    @ExcelProperty(value = "内容")
    private String content;

    /**
     * 内容图片
     */
    @ExcelProperty(value = "内容图片")
    private String contentPhoto;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 回复时间
     */
    @ExcelProperty(value = "回复时间")
    private Date replyTime;


}
